package com.angel.domain.angelhelp.aggregates;

import com.angel.domain.angelhelp.entities.AngelHelpInfo;
import com.angel.domain.angelhelp.valueobjects.AngelHelpId;
import com.angel.domain.angeluser.valueobjects.AngelUserId;
import com.angel.domain.angeluser.valueobjects.CreateInfo;
import lombok.Getter;


/*
 * 更新关注微信公众号： 为了offer
 * @author parkin
 * @description 天使任务
 * @date 2021/11/13
 */
@Getter
public class AngelHelp {

    private AngelHelpId angelHelpId;

    // 求助用户
    private AngelUserId publishAngelUserId;

    // 任务信息
    private AngelHelpInfo angelHelpInfo;

    private CreateInfo createInfo;

    public AngelHelp(AngelUserId publishAngelUserId, AngelHelpInfo angelHelpInfo) {
        this.publishAngelUserId = publishAngelUserId;
        this.angelHelpInfo = angelHelpInfo;
        this.createInfo = new CreateInfo(publishAngelUserId);
    }
}
